<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no" />
    <title>推送消息列表</title>
    <link rel="stylesheet" href="../../css/reset.css">
    <style>
        body {
            width: 100%;
            background-color: #fff;
            font-size: 0.28rem;
            height: auto;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            font-family: PingFang-SC-Medium;
            color: #262626;
            padding-bottom: 0.5rem;
        }

        header {
            width: 100%;
            padding: 0.24rem 0.3rem 0.2rem 0.3rem;
            height: 1.5rem;
            box-sizing: border-box;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            box-shadow: 0 0.06rem 0.12rem 0 rgba(198, 198, 198, 0.23);
        }

        header h1 {
            width: 100%;
            font-size: 0.4rem;
            font-family: PingFang-SC-Bold;
            font-weight: bold;
            box-sizing: border-box;
            display: flex;
            display: -webkit-flex;
            align-items: center;
        }

        header p {
            width: 100%;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            margin: 0.3rem 0;
        }

        header p>span {
            width: 100%;
            font-size: 0.24rem;
            font-family: PingFang-SC-Medium;
            font-weight: 500;
            margin-left: 0.17rem;
        }

        header p>img {
            width: 0.42rem;
        }

        header b {
            width: 100%;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: space-between;
        }

        header b>span:first-of-type {
            font-size: 0.22rem;
            font-family: PingFang-SC-Medium;
            font-weight: 500;
            color: #71768C;
        }

        header b>span:last-of-type {
            flex: 1;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: flex-end;
        }

        header .showclickNum>span:first-of-type {
            color: #71768C;
        }

        header b>span:last-of-type>span:last-of-type img {
            /*width: 0.36rem;*/
            height: 0.3rem;
        }

        .careImg {
            height: 0.3rem;
        }

        header .showclickNum>span:last-of-type {
            width: 0.8rem;
            box-sizing: border-box;
            padding-left: 0.2rem;
            margin-left: 0.36rem;
        }

        article {
            width: 100%;
            box-sizing: border-box;
            padding: 0.5rem 0.3rem;
        }

        article img {
            max-width: 100% !important;
        }
    </style>
</head>

<body>
    <header>
        <h1 class="textHead">baidu</h1>
        <b>
            <span class="create_at">2020-05-22</span>
            <span class="showclickNum">
            </span>
        </b>
    </header>
    <article>
        <div class="showMain content">
        </div>
    </article>
    <script src="../../script/autosize.js"></script>
    <script src="../../script/fastclick.js"></script>
    <script src="../../script/jquery_three_two_one.js"></script>
    <script src="../../script/app.js"></script>
    <script>
        apiready = function () {
            var app = new APP();
            var account = app.getAccount();
            var newsId = api.pageParam.messageID;
            app.ajaxPro({
                url: "send-msg/get",
                values: {
                    pid: newsId,
                    token: account.token
                },
                openFlower: true
            }, function (ret) {
                if (ret.code == 200) {
                    app.trigger("readSuccful");
                    $(".textHead").text(ret.data.data.title);
                    $(".showMain").html(ret.data.data.content);
                    $(".create_at").text(ret.data.data.send_at);
                }
            })
            app.headerMap();
        };
    </script>
</body>

</html>